home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / coral / Makefile.std < prev    next >
Makefile  |  1995-05-03  |  470b  |  26 lines

  1. CC = cc  
  2. CFLAGS = -O
  3. LIBS = -lm -lX11
  4. DESTBIN = /usr/bin/X11
  5. DESTMAN = /usr/man/manl
  6.  
  7. coral: coral.o
  8.     $(CC) $(CFLAGS) -o coral coral.o $(LIBS)
  9.  
  10. coral.o: coral.c coral.h patchlevel.h
  11.     $(CC) $(CFLAGS) -c coral.c
  12.  
  13. install: coral
  14.     cp coral $(DESTBIN)/coral;
  15.     cd $(DESTBIN); chmod 755 coral
  16.  
  17. install.man:
  18.     cp coral.man $(DESTMAN)/coral.l; chmod 644 $(DESTMAN)/coral.l
  19.       
  20. clean:
  21.     rm -f coral coral.o core
  22.  
  23. uninstall:
  24.     cd $(DESTBIN); rm -f coral
  25.     rm -f $(DESTMAN)/coral.l
  26.